package com.example.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.time.LocalDateTime;

@Data
public class Room {
    @JsonProperty("room_id")
    private Integer roomId;
    
    @JsonProperty("family_id")
    private Integer familyId;
    
    @JsonProperty("room_name")
    private String roomName;
    
    @JsonProperty("room_type")
    private String roomType;
    
    @JsonProperty("created_at")
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
    private LocalDateTime createdAt;
} 